/**
 * @projectName: agriculture-smart-systems
 * @author: 小飞
 * @description: TODO
 * @date: 2023/12/20 11:50
 * @version: 1.0
 */
package com.fyt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
 * 圈舍主表
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "",description = "")
public class Enclosure implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty
    @TableId(value = "e_id",type = IdType.AUTO)
    private Integer eId;//圈舍id

    @TableField("enclosure_name")
    private String enclosureName;//圈舍名
    @TableField("p_code")
    private Integer pastureCode;//牧场Id
    @TableField("enable")
    private Integer enable;//圈舍状态(1-启用，0为停用)
    @TableField("inventory")
    private Integer inventory;//存栏量(默认值为200)
}
